{#
Copyright (c) 2020 Andy Zhou
MIT License
#}
{% extends 'base.html' %}
{% from 'bootstrap/form.html' import render_form %}
{% from 'macros.html' import load_ckeditor with context %}
{% block title %} {{ _("Edit post") }} {% endblock %}
{% block page_content %}
    <h1 class="display-4">{{ _("Edit post") }}</h1>
    {{ render_form(form) }}
{% endblock %}
{% block scripts %}
    {{ super() }}
    {{ load_ckeditor() }}
{% endblock %}